package com.qk.management.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.github.pagehelper.Page;
import com.qk.domain.business.BusinessCountDO;
import com.qk.domain.business.BusinessDO;
import com.qk.dto.business.BusinessPoolDTO;
import com.qk.dto.business.BusinessQueryDTO;
import com.qk.entity.Business;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface BusinessMapper extends BaseMapper<Business> {

    BusinessCountDO selectBusinessCount();


    Page<BusinessDO> selectByPage(BusinessQueryDTO dto);

    Page<BusinessDO> selectBusinessPoolPage(BusinessPoolDTO dto);
}
